package com.example.second.proxy.classes;

import android.util.Log;

import com.example.second.proxy.interfaces.IStarDao;

/**
 * @ClassName: StaticStarProxy$
 * @Description: java类作用描述
 * @Author: xinya
 * @CreateDate: 2020/12/9$ 16:36$
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class StaticStarProxy implements IStarDao {

    private static final String TAG = "StaticStarProxy";
    private IStarDao mIStarDao;

    public StaticStarProxy(IStarDao IStarDao) {
        mIStarDao = IStarDao;
    }


    @Override
    public void doWork() {
        Log.d(TAG, "doWork: " + "前期宣传");
        mIStarDao.doWork();
        Log.d(TAG, "doWork: " + "后期处理");
    }
}
